Copies data from the CPU to to a non-mappable subresource region.
シンタックス
'宣言
Public Overloads Sub UpdateSubresource(Of As {New, Struct})( _
ByRef As , _
ByVal As Resource, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Nullable(Of ResourceRegion) _
)
public void UpdateSubresource<>(
ref ,
Resource ,
System.int ,
System.int ,
System.int ,
System.Nullable<ResourceRegion>
)
where T: new(), struct
パラメータ
- data
- A reference to the data to upload.
- resource
- The destination resource.
- subresource
- The destination subresource.
- rowPitch
- The row pitch.
- depthPitch
- The depth pitch.
- region
- The region
型パラメータ
- T
- Type of the data to upload
参照